package xyz.zhzby.cyzx.ucenter.service;

import xyz.zhzby.cyzx.servicebase.domain.RestResponse;

/**
 * @author zby
 * @date 2021/12/17
 */
public interface VerificationService {

    RestResponse<String> sendMailCode(String email);

    RestResponse<String> verifyEmailCode(String code);

    RestResponse<String> sendSmsCode(String phone);

    RestResponse<String> verifySmsCode(String code);
}
